package com.atguigu.registration.hosp.repository;

import com.atguigu.registration.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: Jiang Yizhi
 * @Date: 2022/4/25 7:47 PM
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {

    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
